﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using System.Net;
using System.IO;

namespace Chat_Client_TCP
{
    static class Program
    {
        /// <summary>
        /// Главная точка входа для приложения.
        /// </summary>
        [STAThread]
        static void Main()
        {
            StreamWriter log = new StreamWriter("log.txt", true);
            log.WriteLine(DateTime.Now);
            log.Close();

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new MainForm());
        }
    }

    public static class CallBackMyToConnect
    {
        public delegate void callbackEvent(bool what);
        public static callbackEvent callbackEventHandler;
    }
}
